package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class StatementInformationItemName {

    private int beginIndex;
    private int endIndex;
    private boolean number;
    private boolean more;
    private boolean commandFunction;
    private boolean commandFunctionCode;
    private boolean dynamicFunction;
    private boolean dynamicFunctionCode;
    private boolean rowCount;
    private boolean transactionsCommitted;
    private boolean transactionsRolledBack;
    private boolean transactionActive;

    public StatementInformationItemName(int beginIndex,
                                        int endIndex,
                                        boolean number,
                                        boolean more,
                                        boolean commandFunction,
                                        boolean commandFunctionCode,
                                        boolean dynamicFunction,
                                        boolean dynamicFunctionCode,
                                        boolean rowCount,
                                        boolean transactionsCommitted,
                                        boolean transactionsRolledBack,
                                        boolean transactionActive) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.number = number;
        this.more = more;
        this.commandFunction = commandFunction;
        this.commandFunctionCode = commandFunctionCode;
        this.dynamicFunction = dynamicFunction;
        this.dynamicFunctionCode = dynamicFunctionCode;
        this.rowCount = rowCount;
        this.transactionsCommitted = transactionsCommitted;
        this.transactionsRolledBack = transactionsRolledBack;
        this.transactionActive = transactionActive;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isNumber() {
        return number;
    }

    public boolean isMore() {
        return more;
    }

    public boolean isCommandFunction() {
        return commandFunction;
    }

    public boolean isCommandFunctionCode() {
        return commandFunctionCode;
    }

    public boolean isDynamicFunction() {
        return dynamicFunction;
    }

    public boolean isDynamicFunctionCode() {
        return dynamicFunctionCode;
    }

    public boolean isRowCount() {
        return rowCount;
    }

    public boolean isTransactionsCommitted() {
        return transactionsCommitted;
    }

    public boolean isTransactionsRolledBack() {
        return transactionsRolledBack;
    }

    public boolean isTransactionActive() {
        return transactionActive;
    }

}
